<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png" />
    <HelloWorld msg="Welcome to Your Vue.js App" />
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from "@/components/HelloWorld.vue";
import jsonp from "jsonp";

export default {
  name: "HomeView",
  components: {
    HelloWorld,
  },
  created() {
    jsonp(
      "https://3g.163.com/touch/reconstruct/article/list/BA10TA81wangning/0-10.html",
      {
        name: "artiList",
      },
      (err, res) => {
        if (err) {
          console.log(err);
        } else {
          console.log(res);
        }
      }
    );
  },
};
</script>
